package com.xaicode.auth.controller;

import com.xaicode.auth.domain.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class HelloController {

    @GetMapping("hello")
    public Result<?> hello() {
        log.info("[Hello] app is ok");
        return Result.okMsg("ok");
    }

}